package com.hwhhhh.graduationproject.dao.repo;

import com.hwhhhh.graduationproject.dao.entity.CommentLv2Entity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * @Description detail
 * Created by Hwhhhh on 2021/3/7 10:33
 */
public interface CommentLv2Repo extends JpaRepository<CommentLv2Entity, Integer> {
    List<CommentLv2Entity> findAllByRootIdAndIsEffective(int rootId, int isEffective);
}
